import java.io.IOException;
import java.net.Socket;
import java.util.HashSet;
public class TCPSocket {
    //TCP服务器端
    private static final int PORT= 7755;//服务器端的端口号
    private static final String host= "8.130.44.245";//
    public Socket socket;//定义一个服务器启动项
    public void  start () {
        try {
            socket = new Socket(host,PORT);//
           // System.out.println("客户端启动成功");
        } catch (
                IOException e) {
            System.out.println("客户端启动失败");
            throw new RuntimeException(e);
        }
    }
}